<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/**
 * 메인 컨트롤러
 */
class Main extends CI_Controller {
	
	var $data = array();

	function __construct() {
		parent::__construct();
	}

	// Default
	function index() {
		if ($this->data['sess_userinfo']['login_yn'] == 'N') {
			$this->load->view('login_v', $this->data);
		} else {
			$this->load->view('main_v', $this->data);
		}
	}
}

/* End of file main.php */
/* Location: ./application/controllers/main.php */